home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
401_500
/
DISK0420
/
DISK0420.ZIP
/
TCOUNT.DOC
< prev
next >
Wrap
Text File
|
1985-07-28
|
7KB
|
178 lines
TPRINT (c) 1985 by U-WARE
TCOUNT (c) 1985 by U-WARE
User-Shareable Software
"Sharing is what it's all about!"
NOTE: This software is not free or public domain,
but rather user-shareable. This means you
can use the software before you buy it, and
you can share copies with your friends.
Sharing your ideas and donations with U-WARE
will insure the continuation of this mutually
beneficial arrangement providing you with
low-cost, high-quality software.
INTRODUCTION
------------
TPRINT is a flexible text file printing program which
allows selected portions of your file to be listed.
TPRINT is command-line driven and provides you with
on-line help so that the utility can be used without
refering back to the manual. TPRINT also provides
for multiple copies and single-sheet feeding.
TCOUNT is a text file summary statistics program
providing you with character, word, line, and page
counts. You have control over what characters are
considered to be word delimiters. This utility is
a necessity for authors and other people that need
to know how many characters or words are in a
document.
REQUIREMENTS & RESTRICTIONS
---------------------------
TPRINT and TCOUNT will work on any CP/M-80 V2.2 or
higher system with 32K of RAM memory, or an MS-DOS
system with 64K of RAM. TPRINT will work with any
printer.
TPRINT and TCOUNT will process a text file of any size.
These utilities will not generally work with special
word processing formats. However, most word processors
provide an option to generate ASCII text output which
can then be processed by TPRINT and TCOUNT.
TPRINT or TCOUNT can be terminated at any time by using
a CTRL-C (for CP/M-80) or CTRL-Break (PC-DOS).
TPRINT
------
A. OPTIONS --
Command Line Format:
TPRINT /H to display HELP file
TPRINT filename/opt1/opt2/.../optn
where the following options are available:
C:n n=# of copies to generate, default = 1, max = 9
E echo output to terminal screen
F form feed between copies
F:c c=form feed code, default = 12
L:m m=# of lines per page, default = 66, max = 32000
m=0 means that form feeds separate pages
P:s-e s=starting page number, e=ending page number
defaults: s=1 e=32000
S single sheet mode -- pause after each page
of output
X:name extract part of input file and write to
or another disk file called "name" or
X use input filename and type = "PRI".
Otherwise, output is to the printer device.
B. EXAMPLES --
1. >TPRINT /H
Displays the on-line HELP to your terminal screen.
2. >TPRINT LETTER.DOC/C:2/F/E/P:2-5
Print two (2) copies of pages 2 thru 5 of the
file "LETTER.DOC" and echo to your terminal screen.
A form feed (ASCII code 12) is inserted between
copies, and a default page size of 66 lines/page
is assumed.
3. >TPRINT LETTER.DOC/L:0/P:3-7/S
Print pages 3 thru 7 of the file "LETTER.DOC"
and pause between each page of output to allow
single-sheet feeding. Each page from the input
file is separated by a form feed character.
4. >TPRINT LETTER.DOC/P:3-7/L:50/X:SHORT.LET
Extract pages 3 thru 7 of the file "LETTER.DOC"
and write to the output file "SHORT.LET". Each page
from the input file is assumed to be 50 lines.
TCOUNT
------
A. OPTIONS --
Command Line Format:
TCOUNT /H to display HELP file
TCOUNT filename/opt1/opt2/.../optn
where the following options are available:
E echo input to terminal screen
L:m m=# of lines per page, default = 66, max = 32000
m=0 means that form feeds separate pages
P:s-e s=starting page number, e=ending page number
defaults: s=1 e=32000
S suppress or don't use the end-of-line as
a word terminator
T:del del=delimiter characters which determine the
end of words. Blanks, end-of-line (eoln)
and end-of-file (eof) are default word
terminators, as well as the period ".".
Up to ten delimiter characters may be
specified and they must be printable
ASCII special characters ($%^@, etc.).
The "T" option must be the last one
specified in the command line (this allows
the "/" character to be used as a word
delimiter).
B. EXAMPLES --
1. >TCOUNT /H
Displays the on-line HELP to your terminal screen.
2. >TCOUNT LETTER.DOC/E/P:2-5
Generate count statistics for pages 2 thru 5 of the
file "LETTER.DOC" and echo to your terminal screen.
Default word delimiters and a page size of 66 lines/
page is assumed.
3. >TCOUNT LETTER.DOC/L:0/P:3-7/T::;
Generate count statistics for pages 3 thru 7
of the file "LETTER.DOC". Each page of the input
file is separated by a form feed character.
The characters ":" and ";" define the end of words
(in addition to blanks, eoln, and eof).
f).
(▀